.form-group.text-field {
    width: calc(85% - 60px);
}

.text-field .control-label {
    display: inline-block;
    font-size: .85rem;
    color: #96a0aa;
    line-height: 2;
}

.text-field .control-label .required-asterisk {
    color: var(--error-color);
    font-size: .85rem;
}

.text-field .secondary-label {
    float: right;
    font-size: .85rem;
    color: #96a0aa;
    line-height: 2;
}

.text-field .form-control-container {
    position: relative;
}

.text-field input.form-control {
    width: calc(100% - 40px);
    height: 35px;
    border-width: .2px;
    border-color: #ebf0f6;
    border-style: solid;
    border-radius: 4px;
    font-size: 14px;
    padding-left: 20px;
    padding-right: 20px;
    transition: all .2s;
}

.text-field input.form-control[useIconSpace=true] {
    width: calc(100% - 60px);
    padding-right: 40px;
}

.text-field label.error {
    display: none !important;
}

.text-field .invalidator.invalid .form-control {
    border-color: var(--error-color);
    background-color: #ff000014 !important;
}

.text-field .form-control:active, .form-control:focus {
    outline: none;
}

.text-field .invalidator:not(.invalid) .form-control:hover {
    border-color: #d4d8dc;
}

.text-field .invalidator:not(.invalid) .form-control:focus {
    border-color: #4f8df9;
}

.text-field .eye-icon {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 16px;
    height: 15px;
    background-color: #aab2ba;
}

.text-field .eye-icon.eye-open {
    mask: url(./eye_open.svg) no-repeat center;
    -webkit-mask: url(./eye_open.svg) no-repeat center;
}

.text-field .eye-icon.eye-closed {
    mask: url(./eye_closed.svg) no-repeat center;
    -webkit-mask: url(./eye_closed.svg) no-repeat center;
}

.text-field .eye-icon:hover {
    background-color: #4f8df8;
}

.text-field .interactive-labels {
    margin-top: -30px;
    pointer-events: none;
    transition: all .2s;
}

.text-field .invalidator.invalid:not(.no-warn-msg) .interactive-labels {
    margin-top: -10px;
    pointer-events: all;
}

.text-field .validation-error {
    display: inline-block;
    font-size: .85rem;
    color: var(--error-color);
    line-height: 2;
    opacity: 0;
    transition: all .1s;
}

.text-field .invalidator.invalid:not(.no-warn-msg) .validation-error {
    margin-bottom: 25px;
    opacity: 1;
}

.text-field .validation-error span {
    position: absolute;
    font-size: 90%;
    white-space: nowrap;
}

.text-field .link-option {
    position: absolute;
    width: fit-content;
    right: 0;
    margin-top: 5px;
    transform: translateX(0);
    pointer-events: all !important;
    transition: all .2s;
}

.text-field .invalidator.invalid:not(.no-warn-msg) .link-option {
    right: 100%;
    margin-top: -3px;
    transform: translateX(100%);
}

.text-field .link-option a {
    margin-right: 3px;
    font-size: 13px;
}

@media screen and (max-width: 1000px) {
    .text-field input.form-control {
        height: 52px;
    }

    .text-field .eye-icon {
        top: 20px;
    }
}